Component({
  properties: {
    imagesArr: {
      type: Array,
      value: []
    }
  },
  data: {
    indicatorDots: false,
    autoplay: true,
    indicatorIndex:1,
  },
  methods: {
    swiperChange(e){
      let indicatorIndex = e.detail.current + 1;
      this.setData({indicatorIndex: indicatorIndex})
    },
    handleViewFeature(e) {
      let item = e.currentTarget.dataset.item;
      getApp().$router.push({path: item.entrancePath})
    }
  }
})
